import { registerUIActionProvider } from '@ibiz-template/runtime';
import { PrintUIActionProvider } from './print-uiaction-provider';
import { ExportPDFUIActionProvider } from './export-pdf-uiaction-provider';

export const IBizUiAction = {
  install(): void {
    registerUIActionProvider(
      'DEUIACTION_PRINT',
      () => new PrintUIActionProvider(),
    );
    registerUIActionProvider(
      'DEUIACTION_EXPORT_PDF',
      () => new ExportPDFUIActionProvider(),
    );
  },
};
